<script>
<s:if test="fieldErrors!=null">
	<s:iterator value="fieldErrors">
		alert("<s:property/>");
	</s:iterator>
</s:if>
</script>